package com.sky.mapper;


import com.sky.entity.DishFlavor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DishFlavorMapper {

    /**
     * 新增菜品的口味列表
     * @param flavors
     */
    void insertDishFlavorList(List<DishFlavor> flavors);

    /**
     * 根据菜品id集合删除口味表
     * @param dishIds
     */
    public int deleteDishFlavor(List<Long> dishIds);
}
